@import './1.reset.scss';

body,
html {
  height: 100%;

}

body {
  overflow-x: hidden;
  background-color: #f0f0f0;
}

// 版心
$wrap: 1100px;

.wrapper {
  width: $wrap;
  margin: 0 auto;
}

// -1颜色
$color: #999;

// 1.导航栏
.nav {
  width: 100%;
  height: 30px;
  background: #000;
  border-bottom: 1px solid #ededee;
  color: #999;

  .wrapper {
    width: $wrap;
    display: flex;
    margin: 0 auto;
    line-height: 30px;
    color: #999;

    .topNavLeft {
      width: 193px;

      .navAdmit,
      .navReg {
        margin-left: 16px;
        color: #999;
      }
    }

    .topNavLeft2 {
      width: 78px;
      height: 30px;
      padding-left: 30px;

      .iphone {
        color: #999;
      }
    }

    // 2.导航栏二级导航的简单封装
    @mixin Drop {
      display: flex;
      flex-direction: column;
      position: absolute;
      left: -1px;
      top: 30px;
      width: 100px;
      background-color: #fff;
      border: 1px solid #e8e8ea;
      border-top: 0;
      padding: 4px 0px 12px 14px;
      display: none;
      z-index: 6;
    }

    .topNavRight {
      width: 690px;
      height: 30px;
      margin-left: 100px;
      display: flex;
      justify-content: space-between;

      li {
        a {
          color: #999;
        }
      }

      // 2.1个人中心
      .person {
        position: relative;

        .common {
          position: relative;
          border: 1px solid transparent;
          left: -3px;
          top: -1px;

          .p1 {
            color: #999;
          }

          .myDrop {
            @include Drop;

            .p2 {
              height: 28px;
              display: block;

              .icon-triangle-down {
                display: inline-block;
                transition: all 0.5s;
              }

            }
          }

          &:hover {
            background-color: #fff;
            cursor: pointer;
            border: 1px solid transparent;

            .p1 {
              color: rgb(255, 30, 50);
            }

            .myDrop {
              display: block;
            }
          }
        }
      }

      // 2.2客户服务
      .serve {
        @extend .person;
      }

      // 2.3充值中心
      .charge {
        @extend .person;
      }

      // 2.4 消费者权益
      .sumber {
        @extend .person;
      }

      // 2.5更多
      .more {
        @extend .person;
      }
    }
  }
}

// 2.header
.header {
  width: 100%;
  background-color: #fff;
  position: relative;

  .wrapper {
    min-height: 100px;
    display: flex;
    align-items: center;

    .logo {
      width: 330px;
      height: 65px;
      display: inline-block;
      background-image: url(http://kaola-haitao.oss.kaolacdn.com/f69c45fd-8d91-4e18-8e3f-a546be302a12.png);
      background-repeat: no-repeat;
      background-size: auto 65px;
    }

    .h_search {
      width: 510px;
      height: 36px;
      padding-left: 10px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border: 2px solid #ff2337;
      border-radius: 40px;
      position: relative;

      input {
        width: 410px;
        height: 24px;
        line-height: 24px;
        border: 0;
        font-size: 13px;
        vertical-align: middle;
      }

      .h_car {
        width: 60px;
        height: 34px;
        line-height: 34px;
        background: #ff2337;
        background-image: linear-gradient(270deg, #ff2e64, #ff0003);
        border-radius: 40px;
        text-align: center;
        align-self: flex-end;
        cursor: pointer;
        position: absolute;
        top: -1px;
        right: -2px;

        .iconfont {
          font-size: 20px;
          color: #fff;

        }
      }
    }

    .car {
      display: block;
      width: 106px;
      height: 36px;
      background-color: #fff;
      line-height: 36px;
      font-size: 14px;
      text-align: center;
      border-radius: 36px;
      border: 2px solid #ff1e32;
      margin-left: 30px;
      font-size: 14px;

      .icon-gouwuche-xuanzhong {
        font-size: 20px;
        color: #ff1e32;
        vertical-align: middle;
      }
    }

  }
}

// 3.tabBox
.tabBox {
  width: 100%;
  border-bottom: 1px solid #ccc;
  background: #fff;
  position: relative;
  z-index: 10;

  .wrapper {
    min-height: 40px;
    display: flex;
    align-items: center;

    // 左边
    .topCats {
      height: 40px;
      line-height: 40px;
      width: 164px;
      border-bottom: 1px solid #ff5160;
      background: linear-gradient(90deg, red, #ff3264);
      color: #fff;
      font-size: 14px;
      text-align: left;
      position: relative;

      // 左边的上面
      .topLevel {
        .icon-gengduo-2 {
          font-size: 16px;
          margin: 0 10px 0 15px;
          vertical-align: middle;
        }
      }

      .topList {
        li {
          color: #fff;
          text-align: left;
          font-size: 14px;
          background-color: #ff0003;
          cursor: pointer;
          border: 1px solid #999;
          border-top: none;

          .iconfont {
            font-size: 16px;
            margin: 0 10px 0 15px;
            vertical-align: middle;
          }

          // banner上面的盒子
          .list_right {
            position: absolute;
            top: 40px;
            left: 165px;
            width: 630px;
            height: 505px;
            padding: 0px 15px;
            background-color: #fff;
            z-index: 6;
            display: none;


            .mask_top {
              .des_top {
                display: flex;
                height: 34px;
                border-bottom: 1px solid #999;

                h2 {
                  color: #333;
                  font-size: 14px;
                  flex: 1;
                }
              }

              .des_sort {
                display: flex;
              }

              .sort_left,
              .sort_right {
                flex: 1;
                padding-right: 20px;
              }

            }

            // 中间
            .mask_center {
              .des_center {
                display: flex;
                height: 34px;
                border-bottom: 1px solid #999;

                h2 {
                  color: #333;
                  font-size: 14px;
                  flex: 1;
                }
              }

              .des_sort1 {
                display: flex;
              }

              .sort1_left,
              .sort1_right {
                flex: 1;
                padding-right: 20px;
              }

            }

            // mask下面
            .mask_bottom {
              .des_bottom {
                display: flex;
                height: 34px;
                border-bottom: 1px solid #999;

                h2 {
                  color: #333;
                  font-size: 14px;
                  flex: 1;
                }
              }

              .des_sort2 {
                display: flex;
              }

              .sort2_left,
              .sort2_right {
                flex: 1;
                padding-right: 20px;
              }

            }
          }

          &:hover {
            background-color: #fff;
            color: #ff1e32;

            .list_right {
              display: block;
              border: 1px #ff0003 solid;
              border-left: none;
            }
          }

        }
      }


    }

    // 右边
    .topUl {
      display: flex;
      width: 600px;
      padding-left: 40px;
      justify-content: space-between;

      li {
        a {
          font-weight: 700;
        }

        &:hover a {
          color: #ff1e32;
        }
      }


    }

  }

}


// 4.banner图
.banner {
  width: 100%;
  position: relative;
  min-height: 505px;
  margin-bottom: 20px;
  overflow: hidden;

  .banner_top {
    display: flex;
    position: absolute;
    width: 400%;
    height: 505px;

    .imgS {
      width: 100%;

      img {
        width: 100%;
        height: 505px;
      }
    }
  }

  .dot {
    width: 80px;
    display: flex;
    height: 20px;
    position: absolute;
    justify-content: center;
    left: 33%;
    top: 86%;

    li {
      width: 20px;
      height: 20px;
      margin-left: 10px;
      margin-bottom: 10px;
      border-radius: 50%;
      border: 1px solid #000;
      cursor: pointer;

    }
  }

}

.show {
  background-color: #bfc;
}

// 4.主体区域 -手表
.watch {
  background-color: #fff;
  margin-bottom: 20px;

  // 4.1 手表标题
  .watch_title {
    border-top: 1px solid #e9e9e9;
    display: flex;
    justify-content: space-between;
    height: 74px;
    align-items: center;

    .watch_title_left {
      display: flex;

      h2 {
        margin-right: 20px;
      }

      .watch_sort {
        display: flex;
        align-items: center;

        li {
          margin: 0 10px;

          &:nth-child(even) a {
            color: #ff0003;
          }
        }
      }
    }
  }

  // 4.2手表详细
  .watch_des {
    display: flex;
    background-color: #fff;

    .watch_des_left {
      width: 330px;
      height: 540px;
      background-image: url('https://kaola-haitao.oss.kaolacdn.com/w9QMIELQZvS6g0t6AStTT1811261533_330_542.png');
      background-repeat: no-repeat;

      ul {
        width: 306px;
        height: 100px;
        display: flex;
        flex-wrap: wrap;
        margin-top: 410px;
        margin-left: 22px;

        li {
          margin: 0 18px 8px 0;

          a {
            display: block;
            height: 42px;
            padding: 11px 0;
            overflow: hidden;
            font-size: 12px;
            color: #333;
            border-radius: 40px;
            background: #fff;
            border: 1px solid #eee;
            width: 80px;
            text-align: center;
          }

          &:hover {
            a {
              color: #ff1e32;
            }
          }
        }
      }
    }

    .watch_des_center {
      flex: 1;
      height: 542px;
      background-color: #fff;

      ul {
        display: flex;
        flex-wrap: wrap;

        li {
          width: 275px;
          height: 270px;
          text-align: center;
          border: 1px solid #e9e9e9;
          border-width: 1px 1px 1px 0;

          a {
            display: block;
            padding: 30px 0 0;

            p {
              margin: 10px;
            }

            img {
              vertical-align: middle;
              display: inline-block;
            }
          }
        }

      }
    }

  }

  // 4.3 手机展示
  .watch_des_right {
    width: 220px;
    height: 540px;
    background-color: #fff;
    border: 1px solid #e9e9e9;
    border-width: 0 1px 1px 0;

    h3 {
      font-size: 16px;
      line-height: 58px;
      padding: 0 0 0 10px;
      color: #333;
      font-weight: 700;
      height: 58px;
      border: 1px solid #e9e9e9;
      border-left-width: 0;

    }

    .porlist {

      li {
        display: flex;
        border-bottom: 1px dotted #e9e9e9;
        padding: 30px 14px 0 0;
        height: 120px;

        &:nth-child(4) {
          border-bottom: none;
        }

        img {
          display: block;
          width: 75px;
          height: 75px;
          margin-left: 6px;

        }

        .item {
          margin-left: 10px;

          .newPrice {
            font-size: 20px;
            color: #ff1e32;
            margin-right: 5px;
          }

          .oldPrice {
            text-decoration: line-through;
          }
        }
      }


    }


  }

  // 4.4 热卖品牌
  .hot_good {
    margin: 20px 0 40px;
    border: 1px solid #eaeaea;
    line-height: 167px;
    background: #fff;
    min-height: 216px;

    .hot_title {
      text-indent: 20px;
      line-height: 48px;
      height: 48px;
      border-bottom: 1px solid #eaeaea;
    }


    .hot_img {

      ul {
        display: flex;

        li {
          width: 219px;
          height: 167px;
          border-left: 1px solid #e9e9e9;
          text-align: center;

          img {
            width: 120px;
            height: 120px;
          }


        }


      }
    }
  }




}


// 4.主体区域 -数码
.digit_common {
  .title_common {
    display: flex;
    height: 64px;
    justify-content: space-between;
    align-items: center;

    h3 {
      font-size: 20px;
    }

    .moreGoods {
      cursor: pointer;
    }
  }

  // 4.1 手机展示区域
  .desc_common {
    .goodSum_common {
      display: flex;
      flex-wrap: wrap;
    }

    .goods {
      width: 262px;
      height: 380px;
      margin: 0 6px 14px;
      background-color: #fff;
      font-size: 12px;
      padding-top: 20px;
      transition: all 0.5s;

      &:hover {
        transform: scale(1.1);
      }

      img {
        vertical-align: middle;
        width: 262px;
        height: 262px;
      }


      .goods_desc {
        display: flex;
        flex-direction: column;
        align-items: center;

        p {
          margin-bottom: 10px;
        }

        .new {
          display: inline-block;
          height: 16px;
          line-height: 16px;
          background-color: #e31636;
          padding: 0 3px;
          margin-right: 4px;
          text-align: center;
          vertical-align: middle;
          color: #fff;
          font-size: 12px;
          border-radius: 2px;
        }

        .price {
          font-weight: 900;
          color: #e31636;
        }

        .screen {
          height: 16px;
          line-height: 16px;
          border-color: rgba(207, 10, 44, 0.4);
          padding: 0 3px;
          margin-right: 4px;
          text-align: center;
          color: rgb(207, 10, 44);
          font-size: 12px;
          border-radius: 2px;
          border: 1px solid #e31636;
        }

      }

    }
  }

}


//5.底部1
.footer {
  width: 100%;
  min-height: 216px;
  background-color: #fff;

  .wrapper {
    padding: 45px 0 45px;

    ul {
      display: flex;

      &:last-child {
        img {
          display: block;
        }

      }

      li {
        margin-right: 40px;



        dt {
          font-weight: 900;
          margin-bottom: 10px;
        }

        dd {
          margin-bottom: 10px;
        }

      }
    }

    .footer_logo {
      a {
        display: block;
        margin-bottom: 20px;
        cursor: pointer;

        img {
          width: 220px;
          height: 43px;
        }
      }

      .focuson {
        width: 218px;
        height: 32px;
        margin-bottom: 20px;

        .iconfont {
          font-size: 32px;
          vertical-align: middle;
        }

        .icon-25 {
          color: red;
          margin-left: 16px;
        }

        .icon-27 {
          color: green;
          margin-left: 16px;
        }

      }

      .report {
        margin-bottom: 20px;
      }


    }
  }



}

//6.底部2
.footerTwo {
  width: 100%;
  background: #333;

  .wrapper {
    padding: 20px 0;
    min-height: 156px;
    line-height: 26px;
    text-align: center;
    color: #c2c2c2;
    padding-left: 60px;

    span {
      margin-left: 20px;
    }

    .copy_bottom {
      img {
        vertical-align: middle;
      }

      .quality {
        margin-left: 6px;
      }

    }

    .copy_img {
      margin-top: 8px;

      img {
        display: inline-block;
        height: 30px;
        margin-right: 6px;
      }
    }
  }
}